package com.smarthealthcare.ward.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smarthealthcare.common.annotation.Excel;
import com.smarthealthcare.common.core.domain.BaseEntity;

/**
 * ward对象 ward
 * 
 * @author ruoyi
 * @date 2024-11-23
 */
public class Ward extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 病房号 */
    @Excel(name = "病房号")
    private String wardnum;

    /** 科室id 关联科室表 */
    @Excel(name = "科室id 关联科室表")
    private Long departmentId;

    /** 床位编号 */
    @Excel(name = "床位编号")
    private String bedspace;

    /** 区域 */
    @Excel(name = "区域")
    private String region;

    /** 病房价格id 关联病房价格表 */
    @Excel(name = "病房价格id 关联病房价格表")
    private Long wardpriceId;

    /** 逻辑删除 */
    private Long del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWardnum(String wardnum) 
    {
        this.wardnum = wardnum;
    }

    public String getWardnum() 
    {
        return wardnum;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setBedspace(String bedspace) 
    {
        this.bedspace = bedspace;
    }

    public String getBedspace() 
    {
        return bedspace;
    }
    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }
    public void setWardpriceId(Long wardpriceId) 
    {
        this.wardpriceId = wardpriceId;
    }

    public Long getWardpriceId() 
    {
        return wardpriceId;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wardnum", getWardnum())
            .append("departmentId", getDepartmentId())
            .append("bedspace", getBedspace())
            .append("region", getRegion())
            .append("wardpriceId", getWardpriceId())
            .append("del", getDel())
            .toString();
    }
}
